<?php
/**
 * Created by PhpStorm.
 * User: alice
 * Date: 2016/1/14
 * Time: 11:06
 */

class Involved_PlaceModel extends BaseModel{

    protected $table = 'place';

    /**
     * 获取产地列表
     * @return array
     */
    public function GetPlaceList()
    {
        return DB::table($this->table)
            ->selectRaw('place_id as id,place_name as name')->get();
    }

}